libgap-sage-4 software package provides GAP kernel as a C shared library -- lib, you can install in your Ubuntu 17.04 (Zesty Zapus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libgap-sage-4
libgap-sage-4 is installed in your system.
Make ensure the libgap-sage-4 package were installed using the commands given below,
$ sudo dpkg-query -l | grep libgap-sage-4 *
You will get with libgap-sage-4 package name, version, architecture and description in a table
| Distro | Ubuntu 17 04 zesty zapus |
| Section | Libraries |
| Package | libgap-sage-4 |
| Version | 4.8.6+3+20160327g69a66f0+dsx-1 |
| Description | GAP kernel as a C shared library -- lib |
| Sub Section | libs |